{% extends 'base/base.html' %}
{% block title %}消息详情{% endblock %}
{% block main %}
  <h5>{{ msg.title }}</h5>
  <small class="text-muted">来自：{{ msg.sender }} · {{ msg.created|date:"Y-m-d H:i" }}</small>
  <hr>
  <p>{{ msg.content|linebreaks }}</p>
  <a href="{% url 'messagesite:list' %}" class="btn btn-secondary">返回列表</a>
{% endblock %}